<template>
  <view class="fixed bottom-0 left-0 bg-white" style="z-index: 999999; background-color: white !important;">
    <view class="h-15 py-2 border-solid border-0 border-t border-gray-200 fixed bottom-0 w-full flex justify-around items-center" style="z-index: 999999; background-color: white !important;">
      <!--遍历底部导航条目-->

        <navigator
            class="flex flex-col justify-center items-center"
            openType="reLaunch"
            url="/ymq_canyino2o/pages/sjzx/wmdd/wmdd"
        >
            <image class="w-5 h-5" :src="menu_type=='waimai'?'/static/ymq_canyino2o/waimai.png':'/static/ymq_canyino2o/waimai_gray.png'"></image>
            <view :class="[menu_type=='waimai'?'text-yellow-400 font-bold':'text-gray-700']">
              外卖单
            </view>
        </navigator>

        <navigator
            class="flex flex-col justify-center items-center"
            openType="reLaunch"
            url="/ymq_canyino2o/pages/sjzx/dndd/dndd"
        >
          <image class="w-5 h-5" :src="menu_type=='order'?'/static/ymq_canyino2o/order.png':'/static/ymq_canyino2o/order_gray.png'"></image>
            <view :class="[menu_type=='order'?'text-yellow-400 font-bold':'text-gray-700']">
              店内单
            </view>
        </navigator>

        <navigator
            class="flex flex-col justify-center items-center"
            openType="reLaunch"
            url="/ymq_canyino2o/pages/dyImStore/imList/index"
        >
          <image class="w-5 h-5" :src="menu_type=='chat'?'/static/ymq_canyino2o/chat.png':'/static/ymq_canyino2o/chat_gray.png'"></image>
            <view :class="[menu_type=='chat'?'text-yellow-400 font-bold':'text-gray-700']">
              聊天
            </view>
        </navigator>

        <navigator
            class="flex flex-col justify-center items-center"
            openType="reLaunch"
            url="/ymq_canyino2o/pages/sjzx/spgl/cplb"
        >
          <image class="w-5 h-5" :src="menu_type=='shangpin'?'/static/ymq_canyino2o/shangpin.png':'/static/ymq_canyino2o/shangpin_gray.png'"></image>
            <view :class="[menu_type=='shangpin'?'text-yellow-400 font-bold':'text-gray-700']">
              商品管理
            </view>
        </navigator>

        <!--<navigator-->
        <!--    class="flex flex-col justify-center items-center"-->
        <!--    openType="reLaunch"-->
        <!--    url="/ymq_canyino2o/pages/sjzx/sjtj/sjtj"-->
        <!--&gt;-->
        <!--  <image class="w-5 h-5" :src="menu_type=='shuju'?'/static/ymq_canyino2o/shujutongji.png':'/static/ymq_canyino2o/shujutongji_gray.png'"></image>-->
        <!--    <view :class="[menu_type=='shuju'?'text-yellow-400 font-bold':'text-gray-700']">-->
        <!--      数据统计-->
        <!--    </view>-->
        <!--</navigator>-->

        <navigator
            class="flex flex-col justify-center items-center"
            openType="reLaunch"
            url="/ymq_canyino2o/pages/sjzx/sjzx/sjzx"
        >
          <image class="w-5 h-5" :src="menu_type=='shangjia'?'/static/ymq_canyino2o/shangjia.png':'/static/ymq_canyino2o/shangjia_gray.png'"></image>
            <view :class="[menu_type=='shangjia'?'text-yellow-400 font-bold':'text-gray-700']">
              商家中心
            </view>
        </navigator>


    </view>
  </view>

</template>
<script>
export default {
  name: 'daya-clone-navbar',
  props: {
    menu_type: {
      type: String,
      default: "order"
    }
  },
}
</script>

